package io.github.weiranyi.factory;

import io.github.weiranyi.dao.UserDao;
import io.github.weiranyi.dao.impl.UserDaoImpl;

//模拟jar包工厂类的工厂方法
public class StaticFactoryBean {
    public static UserDao createUserDaoStaticMethod() {
        return new UserDaoImpl();
    }
    public UserDao createUserDaoMethod() {
        return new UserDaoImpl();
    }
}
